package org.itboys.mobile.entity.mongo;

import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * @Author：贾琦磊
 * @Date：2018/7/17
 * @Description：楼先生
 */
@Entity(value = "SundayFloorMr",noClassnameStored = true)
public class SundayFloorMr extends BaseMongoEntity{
    private Long titleId;//标题id
    private String titleName;//标题
    private String question;//问题
    private String answer;//回答
    private String link;//链接
    public SundayFloorMr(){}
    public SundayFloorMr(String question,String answer,Long titleId,String link){
        this.link=link;
        this.question=question;
        this.answer=answer;
        this.titleId=titleId;
    }

    public Long getTitleId() {
        return titleId;
    }

    public void setTitleId(Long titleId) {
        this.titleId = titleId;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }
}
